package com.qf.zyh.services.impl;

import com.qf.zyh.dao.InfoMapper;
import com.qf.zyh.entity.BookInfo;
import com.qf.zyh.services.InfoSer;

import java.util.List;

public class InfoSerImpl implements InfoSer {
    private InfoMapper im;

    public InfoMapper getIm() {
        return im;
    }

    public void setIm(InfoMapper im) {
        this.im = im;
    }

    @Override
    public List<BookInfo> getall() {
        return im.getall();
    }

    @Override
    public List<BookInfo> getin(String name, String tname, Integer borrow) {
        return im.getin(name, tname, borrow);
    }
}
